import request from '@/utils/request'
//健康检查接口
export function health(data) {
  return request({
    url: '/api/monitor/pos/health',
    method: 'post',
    data: data
  })
}
//升级推送接口
export function upgrade(data) {
  return request({
    url: '/api/monitor/pos/upgrade',
    method: 'post',
    data: data
  })
}
//上报接口
export function result(data) {
  return request({
    url: '/api/monitor/pos/result',
    method: 'post',
    data: data
  })
}
//关机或者重启接口
export function posOperations(data) {
  return request({
    url: '/api/monitor/pos/posOperations',
    method: 'post',
    data: data
  })
}

